package com.phpxiu.app.model.event;

/**
 * 微信支付事件
 * Created by 吴金洲 on 2016/8/28
 */
public class WeiXinPayEvent {
    public final static int PAY_SUCCESS=0x1;
    public final static int PAY_CANCEL=0x2;
    public final static int PAY_ERR=0x3;
    private int stateCode=PAY_SUCCESS;
    private String errMsg;
    public WeiXinPayEvent(int stateCode,String errStr) {
        this.stateCode = stateCode;
        errMsg=errStr;
    }

    public int getStateCode() {
        return stateCode;
    }

    public void setStateCode(int stateCode) {
        this.stateCode = stateCode;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }
}
